home *** CD-ROM | disk | FTP | other *** search
/ SPACE 1 / SPACE - Library 1 - Volume 1.iso / program / 113 / gfatip04 / gfatip04.txt < prev   
Text File  |  1987-11-28  |  2KB  |  53 lines

  1.  
  2.  
  3.                                                     9 June 1987
  4.  
  5.  
  6.                            GFATIP04.ARC
  7.  
  8.      Welcome to the fourth in the planned series of GFA TIP files 
  9. by this author.
  10.  
  11. This archive will contain the following files:
  12.  
  13.                     GFATIP04.TXT This doc file
  14.                    GFATIP04.PRG Compiled source
  15.              GFATIP04.BAS GFA Basic Source Code file
  16.  
  17. About the Tip File:
  18.  
  19.      In this file you will learn how to construct a rudimentary 
  20. two column directory listing that is paged on demand.  It will 
  21. support and list up to 1,000 files contained in the current 
  22. directory.  Files are sorted by means of a quick Shell Sort 
  23. routine.  The Shell sort was chosen since it is relatively easy to 
  24. understand and is suitably fast for sorting arrays of this size.  
  25. Most disk directories will not exceed 1 page.  Files are listed in 
  26. the following format:
  27.  
  28.          Normal Files contained in the current directory
  29.  
  30.       Directories - denoted by an asterisk before their name
  31.                          (Ex. *MYDIR.DIR)
  32.  
  33.   Lastly a text line will be displayed showing vital disk stats.
  34.  
  35.  
  36.  
  37.      Also included in this file is a technique to get vital disk 
  38. statistics and display them within a running program.  While not 
  39. intended to be a 'Power User' demonstration, this Tip File will 
  40. display the benefits to be derived from sorting information and at 
  41. the same time it will show you an alternative to the GFA Basic 
  42. command, "FILES".
  43.  
  44.      I hope that you get some benefit from the source code and 
  45. concepts contained therein.
  46.  
  47.  
  48.                          John B. Holder
  49.                      Senior Software Engineer
  50.                      Marathon Computer Press
  51.               & Asst. Sysop on GEnie's MichTron RT
  52.  
  53.